import requests

if __name__ == "__main__":
    # 发送请求
    x = requests.get('https://www.w3cschool.cn/try/ajax/json_demo.json')

    # 返回 json 数据
    print(x.json())